package com.feicheng.common.task;

import com.feicheng.service.impl.FMjConnectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class MjmdTask {

    @Autowired
    FMjConnectionService mjConnectionService;


    @Scheduled(cron = "0 0 0 * * ?") // cron 表达式：秒 分 时 日 月 周
    public void runDzDailyTask() {
        mjConnectionService.runDzDailyTask();
    }
}
